package com.carpedil.score.mapper;

import com.carpedil.score.entity.Score;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/** @author Administrator */
@Repository
public interface ScoreMapper {
  List<Score> getScores(@Param("index") Integer index, @Param("limit") Integer limit);

  List<Score> getAllScores();
}
